steam_file_persisted

语法:

steam_file_persisted(filename);


参数 描述
filename 要检查的文件的名称。


返回: 布尔值


描述

With this function you can check the given file to see if it has been synchronised with the Steam Cloud. A return value of true means that it is, while false means it is not.


例如:

if !steam_file_persisted("Save.txt")
   {
   steam_file_share("Save.txt");
   }

The above code will check to see if a file has been stored to the Steam Cloud, and if it has not it will then synchronise it.